<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath(); %>
<html>
<body>
<h2>Hello World!</h2>
<h3><%=request.getServletPath()%>
</h3>
<h3><%=request.getServletContext()%>
</h3>
<h3><%=request.getContextPath()%>
</h3>
<a href="<%=request.getContextPath()%>/ServletTest?num=100">ha?</a><br>
<%--<a href="../java/service/ServletTest">he!</a><br>--%>
<%--<a href="${pageContext.request.contextPath}/ServletTest?num=100">hi`</a><br>--%>
<a href="ServletTest?num=100">hu~</a><br>
<%--<a href="hello-Servlet">ga</a>--%>
</body>
</html>
<%--<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>--%>
<%--<!DOCTYPE html>--%>
<%--<html>--%>
<%--<head>--%>
<%--    <title>JSP - Hello World</title>--%>
<%--</head>--%>
<%--<body>--%>
<%--<h1><%= "Hello World!" %>--%>
<%--</h1>--%>
<%--<br/>--%>
<%--<a href="service-test?num=100">Hello Servlet</a>--%>
<%--</body>--%>
<%--</html>--%>